use std::error::Error;
use std::fmt::{Display, Formatter};

#[derive(Debug)]
pub struct ErrorTimeout;

impl Display for ErrorTimeout{
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        write!(f,"request timeout")
    }
}

impl Error for ErrorTimeout{}